package com.ssy.lingxi.settle.accounts.model.vo.request;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 新增对账单行明细VO
 * @author Saske
 * @date 2021/12/20
 * @version 2.0.0
 */
public class ApplyAmountRowGenerateVO implements Serializable {
    private static final long serialVersionUID = 2267249120229829323L;

    /**
     * 订单类型
     */
    @NotNull(message = "订单类型不能空")
    private Integer billType;

    /**
     * 单据id集合， 至少有一条记录
     */
    @NotEmpty(message = "单据id，至少有一条记录")
    public List<ApplyAmountRowSaveVO> rows;

    public Integer getBillType() {
        return billType;
    }

    public void setBillType(Integer billType) {
        this.billType = billType;
    }

    public List<ApplyAmountRowSaveVO> getRows() {
        return rows;
    }

    public void setRows(List<ApplyAmountRowSaveVO> rows) {
        this.rows = rows;
    }
}
